/*
 * Copyright 2006-2008 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * 
 */
package net.martinimix.beans.bind;

import java.math.BigDecimal;
import java.util.Calendar;

/**
 * Provides a sample bean for unit testing.
 * 
 * @author Scott Rossillo
 *
 */
class SampleBean {
	
	private boolean active;
	
	/**
	 * @@BusinessObjectProperty("a_long_number", attribute=true) 
	 */
	private Long longNumber;
	
	private int funCount;
	private String foo;
	private BigDecimal salePrice;
	
	private Calendar someTime;
	
	/**
	 * @@BusinessObjectProperty("an_obscure_property") 
	 */
	private Double doubleNumber;
	
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	public Long getLongNumber() {
		return longNumber;
	}
	public void setLongNumber(Long longNumber) {
		this.longNumber = longNumber;
	}
	public int getFunCount() {
		return funCount;
	}
	public void setFunCount(int funCount) {
		this.funCount = funCount;
	}
	public String getFoo() {
		return foo;
	}
	public void setFoo(String foo) {
		this.foo = foo;
	}
	public BigDecimal getSalePrice() {
		return salePrice;
	}
	public void setSalePrice(BigDecimal salePrice) {
		this.salePrice = salePrice;
	}
	public Calendar getSomeTime() {
		return someTime;
	}
	public void setSomeTime(Calendar someTime) {
		this.someTime = someTime;
	}
	public Double getDoubleNumber() {
		return doubleNumber;
	}
	public void setDoubleNumber(Double doubleNumber) {
		this.doubleNumber = doubleNumber;
	}
	
}